package com.nlx.notes.module.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 月度分类统计
 * </p>
 *
 * @author nlx
 * @since 2025-06-08
 */
@Getter
@Setter
@TableName("category_month_statistics")
public class CategoryMonthStatistics implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 一级分类id
     */
    private Long categoryId;

    /**
     * 月份
     */
    private String mothDate;

    /**
     * 支出总额
     */
    private Integer amount;

    private Long bookId;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 备注
     */
    private String remarks;

    /**
     * 创建时间
     */
    private LocalDateTime createdTime;

    /**
     * 数据状态
     */
    private Integer delFlag;
}
